package com.just.bz_back.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class RepairExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RepairExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andTypeIdIsNull() {
            addCriterion("type_id is null");
            return (Criteria) this;
        }

        public Criteria andTypeIdIsNotNull() {
            addCriterion("type_id is not null");
            return (Criteria) this;
        }

        public Criteria andTypeIdEqualTo(Integer value) {
            addCriterion("type_id =", value, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdNotEqualTo(Integer value) {
            addCriterion("type_id <>", value, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdGreaterThan(Integer value) {
            addCriterion("type_id >", value, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("type_id >=", value, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdLessThan(Integer value) {
            addCriterion("type_id <", value, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdLessThanOrEqualTo(Integer value) {
            addCriterion("type_id <=", value, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdIn(List<Integer> values) {
            addCriterion("type_id in", values, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdNotIn(List<Integer> values) {
            addCriterion("type_id not in", values, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdBetween(Integer value1, Integer value2) {
            addCriterion("type_id between", value1, value2, "typeId");
            return (Criteria) this;
        }

        public Criteria andTypeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("type_id not between", value1, value2, "typeId");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("user_id like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("user_id not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion("user_name is null");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion("user_name is not null");
            return (Criteria) this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion("user_name =", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion("user_name <>", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion("user_name >", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_name >=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion("user_name <", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion("user_name <=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLike(String value) {
            addCriterion("user_name like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotLike(String value) {
            addCriterion("user_name not like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameIn(List<String> values) {
            addCriterion("user_name in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotIn(List<String> values) {
            addCriterion("user_name not in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion("user_name between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion("user_name not between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserMobileIsNull() {
            addCriterion("user_mobile is null");
            return (Criteria) this;
        }

        public Criteria andUserMobileIsNotNull() {
            addCriterion("user_mobile is not null");
            return (Criteria) this;
        }

        public Criteria andUserMobileEqualTo(String value) {
            addCriterion("user_mobile =", value, "userMobile");
            return (Criteria) this;
        }

        public Criteria andUserMobileNotEqualTo(String value) {
            addCriterion("user_mobile <>", value, "userMobile");
            return (Criteria) this;
        }

        public Criteria andUserMobileGreaterThan(String value) {
            addCriterion("user_mobile >", value, "userMobile");
            return (Criteria) this;
        }

        public Criteria andUserMobileGreaterThanOrEqualTo(String value) {
            addCriterion("user_mobile >=", value, "userMobile");
            return (Criteria) this;
        }

        public Criteria andUserMobileLessThan(String value) {
            addCriterion("user_mobile <", value, "userMobile");
            return (Criteria) this;
        }

        public Criteria andUserMobileLessThanOrEqualTo(String value) {
            addCriterion("user_mobile <=", value, "userMobile");
            return (Criteria) this;
        }

        public Criteria andUserMobileLike(String value) {
            addCriterion("user_mobile like", value, "userMobile");
            return (Criteria) this;
        }

        public Criteria andUserMobileNotLike(String value) {
            addCriterion("user_mobile not like", value, "userMobile");
            return (Criteria) this;
        }

        public Criteria andUserMobileIn(List<String> values) {
            addCriterion("user_mobile in", values, "userMobile");
            return (Criteria) this;
        }

        public Criteria andUserMobileNotIn(List<String> values) {
            addCriterion("user_mobile not in", values, "userMobile");
            return (Criteria) this;
        }

        public Criteria andUserMobileBetween(String value1, String value2) {
            addCriterion("user_mobile between", value1, value2, "userMobile");
            return (Criteria) this;
        }

        public Criteria andUserMobileNotBetween(String value1, String value2) {
            addCriterion("user_mobile not between", value1, value2, "userMobile");
            return (Criteria) this;
        }

        public Criteria andLocationIdIsNull() {
            addCriterion("location_id is null");
            return (Criteria) this;
        }

        public Criteria andLocationIdIsNotNull() {
            addCriterion("location_id is not null");
            return (Criteria) this;
        }

        public Criteria andLocationIdEqualTo(Integer value) {
            addCriterion("location_id =", value, "locationId");
            return (Criteria) this;
        }

        public Criteria andLocationIdNotEqualTo(Integer value) {
            addCriterion("location_id <>", value, "locationId");
            return (Criteria) this;
        }

        public Criteria andLocationIdGreaterThan(Integer value) {
            addCriterion("location_id >", value, "locationId");
            return (Criteria) this;
        }

        public Criteria andLocationIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("location_id >=", value, "locationId");
            return (Criteria) this;
        }

        public Criteria andLocationIdLessThan(Integer value) {
            addCriterion("location_id <", value, "locationId");
            return (Criteria) this;
        }

        public Criteria andLocationIdLessThanOrEqualTo(Integer value) {
            addCriterion("location_id <=", value, "locationId");
            return (Criteria) this;
        }

        public Criteria andLocationIdIn(List<Integer> values) {
            addCriterion("location_id in", values, "locationId");
            return (Criteria) this;
        }

        public Criteria andLocationIdNotIn(List<Integer> values) {
            addCriterion("location_id not in", values, "locationId");
            return (Criteria) this;
        }

        public Criteria andLocationIdBetween(Integer value1, Integer value2) {
            addCriterion("location_id between", value1, value2, "locationId");
            return (Criteria) this;
        }

        public Criteria andLocationIdNotBetween(Integer value1, Integer value2) {
            addCriterion("location_id not between", value1, value2, "locationId");
            return (Criteria) this;
        }

        public Criteria andUserRoomIsNull() {
            addCriterion("user_room is null");
            return (Criteria) this;
        }

        public Criteria andUserRoomIsNotNull() {
            addCriterion("user_room is not null");
            return (Criteria) this;
        }

        public Criteria andUserRoomEqualTo(String value) {
            addCriterion("user_room =", value, "userRoom");
            return (Criteria) this;
        }

        public Criteria andUserRoomNotEqualTo(String value) {
            addCriterion("user_room <>", value, "userRoom");
            return (Criteria) this;
        }

        public Criteria andUserRoomGreaterThan(String value) {
            addCriterion("user_room >", value, "userRoom");
            return (Criteria) this;
        }

        public Criteria andUserRoomGreaterThanOrEqualTo(String value) {
            addCriterion("user_room >=", value, "userRoom");
            return (Criteria) this;
        }

        public Criteria andUserRoomLessThan(String value) {
            addCriterion("user_room <", value, "userRoom");
            return (Criteria) this;
        }

        public Criteria andUserRoomLessThanOrEqualTo(String value) {
            addCriterion("user_room <=", value, "userRoom");
            return (Criteria) this;
        }

        public Criteria andUserRoomLike(String value) {
            addCriterion("user_room like", value, "userRoom");
            return (Criteria) this;
        }

        public Criteria andUserRoomNotLike(String value) {
            addCriterion("user_room not like", value, "userRoom");
            return (Criteria) this;
        }

        public Criteria andUserRoomIn(List<String> values) {
            addCriterion("user_room in", values, "userRoom");
            return (Criteria) this;
        }

        public Criteria andUserRoomNotIn(List<String> values) {
            addCriterion("user_room not in", values, "userRoom");
            return (Criteria) this;
        }

        public Criteria andUserRoomBetween(String value1, String value2) {
            addCriterion("user_room between", value1, value2, "userRoom");
            return (Criteria) this;
        }

        public Criteria andUserRoomNotBetween(String value1, String value2) {
            addCriterion("user_room not between", value1, value2, "userRoom");
            return (Criteria) this;
        }

        public Criteria andAdminIdIsNull() {
            addCriterion("admin_id is null");
            return (Criteria) this;
        }

        public Criteria andAdminIdIsNotNull() {
            addCriterion("admin_id is not null");
            return (Criteria) this;
        }

        public Criteria andAdminIdEqualTo(Integer value) {
            addCriterion("admin_id =", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdNotEqualTo(Integer value) {
            addCriterion("admin_id <>", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdGreaterThan(Integer value) {
            addCriterion("admin_id >", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("admin_id >=", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdLessThan(Integer value) {
            addCriterion("admin_id <", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdLessThanOrEqualTo(Integer value) {
            addCriterion("admin_id <=", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdIn(List<Integer> values) {
            addCriterion("admin_id in", values, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdNotIn(List<Integer> values) {
            addCriterion("admin_id not in", values, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdBetween(Integer value1, Integer value2) {
            addCriterion("admin_id between", value1, value2, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdNotBetween(Integer value1, Integer value2) {
            addCriterion("admin_id not between", value1, value2, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminPictureIsNull() {
            addCriterion("admin_picture is null");
            return (Criteria) this;
        }

        public Criteria andAdminPictureIsNotNull() {
            addCriterion("admin_picture is not null");
            return (Criteria) this;
        }

        public Criteria andAdminPictureEqualTo(String value) {
            addCriterion("admin_picture =", value, "adminPicture");
            return (Criteria) this;
        }

        public Criteria andAdminPictureNotEqualTo(String value) {
            addCriterion("admin_picture <>", value, "adminPicture");
            return (Criteria) this;
        }

        public Criteria andAdminPictureGreaterThan(String value) {
            addCriterion("admin_picture >", value, "adminPicture");
            return (Criteria) this;
        }

        public Criteria andAdminPictureGreaterThanOrEqualTo(String value) {
            addCriterion("admin_picture >=", value, "adminPicture");
            return (Criteria) this;
        }

        public Criteria andAdminPictureLessThan(String value) {
            addCriterion("admin_picture <", value, "adminPicture");
            return (Criteria) this;
        }

        public Criteria andAdminPictureLessThanOrEqualTo(String value) {
            addCriterion("admin_picture <=", value, "adminPicture");
            return (Criteria) this;
        }

        public Criteria andAdminPictureLike(String value) {
            addCriterion("admin_picture like", value, "adminPicture");
            return (Criteria) this;
        }

        public Criteria andAdminPictureNotLike(String value) {
            addCriterion("admin_picture not like", value, "adminPicture");
            return (Criteria) this;
        }

        public Criteria andAdminPictureIn(List<String> values) {
            addCriterion("admin_picture in", values, "adminPicture");
            return (Criteria) this;
        }

        public Criteria andAdminPictureNotIn(List<String> values) {
            addCriterion("admin_picture not in", values, "adminPicture");
            return (Criteria) this;
        }

        public Criteria andAdminPictureBetween(String value1, String value2) {
            addCriterion("admin_picture between", value1, value2, "adminPicture");
            return (Criteria) this;
        }

        public Criteria andAdminPictureNotBetween(String value1, String value2) {
            addCriterion("admin_picture not between", value1, value2, "adminPicture");
            return (Criteria) this;
        }

        public Criteria andUserStarIsNull() {
            addCriterion("user_star is null");
            return (Criteria) this;
        }

        public Criteria andUserStarIsNotNull() {
            addCriterion("user_star is not null");
            return (Criteria) this;
        }

        public Criteria andUserStarEqualTo(Integer value) {
            addCriterion("user_star =", value, "userStar");
            return (Criteria) this;
        }

        public Criteria andUserStarNotEqualTo(Integer value) {
            addCriterion("user_star <>", value, "userStar");
            return (Criteria) this;
        }

        public Criteria andUserStarGreaterThan(Integer value) {
            addCriterion("user_star >", value, "userStar");
            return (Criteria) this;
        }

        public Criteria andUserStarGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_star >=", value, "userStar");
            return (Criteria) this;
        }

        public Criteria andUserStarLessThan(Integer value) {
            addCriterion("user_star <", value, "userStar");
            return (Criteria) this;
        }

        public Criteria andUserStarLessThanOrEqualTo(Integer value) {
            addCriterion("user_star <=", value, "userStar");
            return (Criteria) this;
        }

        public Criteria andUserStarIn(List<Integer> values) {
            addCriterion("user_star in", values, "userStar");
            return (Criteria) this;
        }

        public Criteria andUserStarNotIn(List<Integer> values) {
            addCriterion("user_star not in", values, "userStar");
            return (Criteria) this;
        }

        public Criteria andUserStarBetween(Integer value1, Integer value2) {
            addCriterion("user_star between", value1, value2, "userStar");
            return (Criteria) this;
        }

        public Criteria andUserStarNotBetween(Integer value1, Integer value2) {
            addCriterion("user_star not between", value1, value2, "userStar");
            return (Criteria) this;
        }

        public Criteria andCreatedAtIsNull() {
            addCriterion("created_at is null");
            return (Criteria) this;
        }

        public Criteria andCreatedAtIsNotNull() {
            addCriterion("created_at is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedAtEqualTo(Date value) {
            addCriterion("created_at =", value, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtNotEqualTo(Date value) {
            addCriterion("created_at <>", value, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtGreaterThan(Date value) {
            addCriterion("created_at >", value, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtGreaterThanOrEqualTo(Date value) {
            addCriterion("created_at >=", value, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtLessThan(Date value) {
            addCriterion("created_at <", value, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtLessThanOrEqualTo(Date value) {
            addCriterion("created_at <=", value, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtIn(List<Date> values) {
            addCriterion("created_at in", values, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtNotIn(List<Date> values) {
            addCriterion("created_at not in", values, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtBetween(Date value1, Date value2) {
            addCriterion("created_at between", value1, value2, "createdAt");
            return (Criteria) this;
        }

        public Criteria andCreatedAtNotBetween(Date value1, Date value2) {
            addCriterion("created_at not between", value1, value2, "createdAt");
            return (Criteria) this;
        }

        public Criteria andAcceptedAtIsNull() {
            addCriterion("accepted_at is null");
            return (Criteria) this;
        }

        public Criteria andAcceptedAtIsNotNull() {
            addCriterion("accepted_at is not null");
            return (Criteria) this;
        }

        public Criteria andAcceptedAtEqualTo(Date value) {
            addCriterion("accepted_at =", value, "acceptedAt");
            return (Criteria) this;
        }

        public Criteria andAcceptedAtNotEqualTo(Date value) {
            addCriterion("accepted_at <>", value, "acceptedAt");
            return (Criteria) this;
        }

        public Criteria andAcceptedAtGreaterThan(Date value) {
            addCriterion("accepted_at >", value, "acceptedAt");
            return (Criteria) this;
        }

        public Criteria andAcceptedAtGreaterThanOrEqualTo(Date value) {
            addCriterion("accepted_at >=", value, "acceptedAt");
            return (Criteria) this;
        }

        public Criteria andAcceptedAtLessThan(Date value) {
            addCriterion("accepted_at <", value, "acceptedAt");
            return (Criteria) this;
        }

        public Criteria andAcceptedAtLessThanOrEqualTo(Date value) {
            addCriterion("accepted_at <=", value, "acceptedAt");
            return (Criteria) this;
        }

        public Criteria andAcceptedAtIn(List<Date> values) {
            addCriterion("accepted_at in", values, "acceptedAt");
            return (Criteria) this;
        }

        public Criteria andAcceptedAtNotIn(List<Date> values) {
            addCriterion("accepted_at not in", values, "acceptedAt");
            return (Criteria) this;
        }

        public Criteria andAcceptedAtBetween(Date value1, Date value2) {
            addCriterion("accepted_at between", value1, value2, "acceptedAt");
            return (Criteria) this;
        }

        public Criteria andAcceptedAtNotBetween(Date value1, Date value2) {
            addCriterion("accepted_at not between", value1, value2, "acceptedAt");
            return (Criteria) this;
        }

        public Criteria andRepairedAtIsNull() {
            addCriterion("repaired_at is null");
            return (Criteria) this;
        }

        public Criteria andRepairedAtIsNotNull() {
            addCriterion("repaired_at is not null");
            return (Criteria) this;
        }

        public Criteria andRepairedAtEqualTo(Date value) {
            addCriterion("repaired_at =", value, "repairedAt");
            return (Criteria) this;
        }

        public Criteria andRepairedAtNotEqualTo(Date value) {
            addCriterion("repaired_at <>", value, "repairedAt");
            return (Criteria) this;
        }

        public Criteria andRepairedAtGreaterThan(Date value) {
            addCriterion("repaired_at >", value, "repairedAt");
            return (Criteria) this;
        }

        public Criteria andRepairedAtGreaterThanOrEqualTo(Date value) {
            addCriterion("repaired_at >=", value, "repairedAt");
            return (Criteria) this;
        }

        public Criteria andRepairedAtLessThan(Date value) {
            addCriterion("repaired_at <", value, "repairedAt");
            return (Criteria) this;
        }

        public Criteria andRepairedAtLessThanOrEqualTo(Date value) {
            addCriterion("repaired_at <=", value, "repairedAt");
            return (Criteria) this;
        }

        public Criteria andRepairedAtIn(List<Date> values) {
            addCriterion("repaired_at in", values, "repairedAt");
            return (Criteria) this;
        }

        public Criteria andRepairedAtNotIn(List<Date> values) {
            addCriterion("repaired_at not in", values, "repairedAt");
            return (Criteria) this;
        }

        public Criteria andRepairedAtBetween(Date value1, Date value2) {
            addCriterion("repaired_at between", value1, value2, "repairedAt");
            return (Criteria) this;
        }

        public Criteria andRepairedAtNotBetween(Date value1, Date value2) {
            addCriterion("repaired_at not between", value1, value2, "repairedAt");
            return (Criteria) this;
        }

        public Criteria andCompletedAtIsNull() {
            addCriterion("completed_at is null");
            return (Criteria) this;
        }

        public Criteria andCompletedAtIsNotNull() {
            addCriterion("completed_at is not null");
            return (Criteria) this;
        }

        public Criteria andCompletedAtEqualTo(Date value) {
            addCriterion("completed_at =", value, "completedAt");
            return (Criteria) this;
        }

        public Criteria andCompletedAtNotEqualTo(Date value) {
            addCriterion("completed_at <>", value, "completedAt");
            return (Criteria) this;
        }

        public Criteria andCompletedAtGreaterThan(Date value) {
            addCriterion("completed_at >", value, "completedAt");
            return (Criteria) this;
        }

        public Criteria andCompletedAtGreaterThanOrEqualTo(Date value) {
            addCriterion("completed_at >=", value, "completedAt");
            return (Criteria) this;
        }

        public Criteria andCompletedAtLessThan(Date value) {
            addCriterion("completed_at <", value, "completedAt");
            return (Criteria) this;
        }

        public Criteria andCompletedAtLessThanOrEqualTo(Date value) {
            addCriterion("completed_at <=", value, "completedAt");
            return (Criteria) this;
        }

        public Criteria andCompletedAtIn(List<Date> values) {
            addCriterion("completed_at in", values, "completedAt");
            return (Criteria) this;
        }

        public Criteria andCompletedAtNotIn(List<Date> values) {
            addCriterion("completed_at not in", values, "completedAt");
            return (Criteria) this;
        }

        public Criteria andCompletedAtBetween(Date value1, Date value2) {
            addCriterion("completed_at between", value1, value2, "completedAt");
            return (Criteria) this;
        }

        public Criteria andCompletedAtNotBetween(Date value1, Date value2) {
            addCriterion("completed_at not between", value1, value2, "completedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtIsNull() {
            addCriterion("updated_at is null");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtIsNotNull() {
            addCriterion("updated_at is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtEqualTo(Date value) {
            addCriterion("updated_at =", value, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtNotEqualTo(Date value) {
            addCriterion("updated_at <>", value, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtGreaterThan(Date value) {
            addCriterion("updated_at >", value, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtGreaterThanOrEqualTo(Date value) {
            addCriterion("updated_at >=", value, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtLessThan(Date value) {
            addCriterion("updated_at <", value, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtLessThanOrEqualTo(Date value) {
            addCriterion("updated_at <=", value, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtIn(List<Date> values) {
            addCriterion("updated_at in", values, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtNotIn(List<Date> values) {
            addCriterion("updated_at not in", values, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtBetween(Date value1, Date value2) {
            addCriterion("updated_at between", value1, value2, "updatedAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedAtNotBetween(Date value1, Date value2) {
            addCriterion("updated_at not between", value1, value2, "updatedAt");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}